package com.order.service;

import com.common.domain.Order;

import java.util.List;

/**
 * @author Elias
 * @version 1.0
 * @date 2021-06-25 10:08
 * @description
 * @copyright 2021
 */
public interface OrderService {
    /**
     * 添加订单
     * @param order
     */
    void addOrder(Order order);

    /**
     * 查询用户订单
     * @param userId
     * @return
     */
    List<Order> queryOrder(String userId);

    /**
     * 删除用户订单
     *
     * @param orderId
     */
    void  deleteOrder(String orderId);
}
